import {observable} from 'mobx'

const locationStore = observable({
  location: {},
  set(location) {
    Object.assign(this.location, location)
  },
  clear() {
    this.location = null
  },
})
export default locationStore
